package com.xzkydz.root;

import java.util.List;


/**
 * 服务端返回的测试任务列表Json、以及每次app提交时服务端的响应
 */
public class ResponseEntity {

    /**
     * code : 200
     * msg : ok
     * date : 2019-08-27 16:48:08
     * obj : {"tasks":[{"zhjr":"张三","shjdw":"山东枣庄","taskid":"1231asdf76acd7f","date":"2019-08-27 16:48:08","bz":null}]}
     */

    private String code;
    private String msg;
    private String date;
    private ObjBean obj;

    public ResponseEntity(){}

    public ResponseEntity(String code, String msg, String date, ObjBean obj) {
        this.code = code;
        this.msg = msg;
        this.date = date;
        this.obj = obj;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public static class ObjBean {
        private List<TasksBean> tasks;

        public List<TasksBean> getTasks() {
            return tasks;
        }

        public void setTasks(List<TasksBean> tasks) {
            this.tasks = tasks;
        }

        public static class TasksBean {
            /**
             * zhjr : 张三
             * shjdw : 山东枣庄
             * taskid : 1231asdf76acd7f
             * date : 2019-08-27 16:48:08
             * bz : null
             */

            private String zhjr;
            private String shjdw;
            private String taskid;
            private String date;
            private Object bz;

            public String getZhjr() {
                return zhjr;
            }

            public void setZhjr(String zhjr) {
                this.zhjr = zhjr;
            }

            public String getShjdw() {
                return shjdw;
            }

            public void setShjdw(String shjdw) {
                this.shjdw = shjdw;
            }

            public String getTaskid() {
                return taskid;
            }

            public void setTaskid(String taskid) {
                this.taskid = taskid;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public Object getBz() {
                return bz;
            }

            public void setBz(Object bz) {
                this.bz = bz;
            }
        }
    }
}
